package com.system.common.util;

//记录常量
//SYS类是你项目中的系统常量容器 ，主要负责：
//- 定义JWT Token相关的键名常量
//- 定义HTTP请求头字段名常量
//- 为整个系统提供统一的常量管理
public class SYS {
    public static final String TOKEN_KEY_ID="ID";
    public static final String TOKEN_KEY_ROLE="ROLE";
    public static final String TOKEN_AUTHORIZATION="authorization";

    public static final String TOKEN_AUTHORIATION = "Authorization";

    //用来实现redis分布式锁的key
    //秒杀商品id 秒杀同步锁的key
    //12  SK_PRE_LOCK_KEY_12
    public static final String SK_PRE_LOCK_KEY="SK_PRE_LOCK_KEY";

    //秒杀商品id 秒杀商品库存的key
    public static final String SK_PRE_PRODUCT_KEY="SK_PRE_PRODUCT_KEY";

    public static final String SK_ACTIVITY_STATUS_HASH_KEY="SK_ACTIVITY_STATUS_HASH_KEY";

    public static final String SK_ACTIVITY_START_TIME_KEY="SK_ACTIVITY_START_TIME_KEY";

    public static final String SK_ACTIVITY_END_TIME_KEY="SK_ACTIVITY_END_TIME_KEY";

    public static final String SK_PRE_ACTIVITY_KEY="SK_PRE_ACTIVITY_KEY";
}
